/**
 * Copyright © 2014 Creativor Studio.
 * About license information, please see LICENSE.txt.
 */
package org.rayson.api.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.rayson.api.Protocol;

/**
 * If an {@link Protocol} interface annotated with this annotation, it means
 * that the {@link Protocol} can used as a service of Rayson RPC.
 * 
 * @author creativor
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target(ElementType.TYPE)
public @interface Service {
	/**
	 * @return Service description.
	 */
	String value() default "";
}